package tech.aistar.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.aistar.mapper.LovejobMapper;
import tech.aistar.model.entity.Lovejob;
import tech.aistar.service.ILovejobService;

@Service
public class LovejobServiceImpl implements ILovejobService {
    @Autowired
    private LovejobMapper lovejobMapper;


    @Override
    public int addLoveJOb(Lovejob lovejob) {
        return  lovejobMapper.addLovedJOb(lovejob);
    }

    @Override
    public int delLoveJob(Integer cId, Integer jId) {

        return lovejobMapper.delLovedJob(cId,jId);
    }
}
